import React from 'react';
import { BrowserRouter } from "react-router-dom";
import { Provider } from "react-redux";
import store from "./redux/index";
import { routes } from "./routers/index";
import RouterView from "./routers/routerview";

function App() {
  return (
    <Provider store={store}>
      <BrowserRouter>
        <RouterView routerList={routes} />
      </BrowserRouter>
    </Provider>
  );
}

export default App;
